package com.cxg.allsys.expertsys.mapper;

import com.cxg.allsys.expertsys.pojo.Article;
import com.cxg.allsys.expertsys.pojo.Comment;
import com.cxg.allsys.expertsys.pojo.TExpert;

import java.util.List;

public interface ExpertsysMapper {
    public TExpert selectLogin(String phone, String password);
    public TExpert selectID(Integer expertid);
    public boolean resetpassword(Integer expertid,String password ,String newpassword);
    public List<Article> selectdata();
    public Article neirong(Integer id);
    public boolean addpinglun(Comment comment);
    public List<Comment> selectComment(Integer expert_id);
    public boolean delectpinglun(Integer c_id);
}
